package com.lyj.system.domain.sysUser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lyj.common.core.entity.BaseEntity;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2025-08-02
 * Time: 20:05
 */
@TableName("tb_sys_user")//Mybatis-plus提供的检查数据库表与实体类的映射关系
@Data
public class SysUser extends BaseEntity {
    @TableId(type = IdType.ASSIGN_ID)//使用雪花算法，生成主键
    private Long userId;
    private String userAccount;//用户账号
    private String password;
    private String nickName;//昵称
}
